เมนูนำทาง
โปรแกรมเฮลโลเวิลด์ Page description languages(Using UTF-8 character set.)
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello, world!</title> </head> <body> <p>Hello, world!</p> </body></html>
(simple)
<html><body><h1>Hello, world!</h1></body></html>
<html> and <body>-tags are not necessary for informal testing. You could even use the following:
<pre>Hello, World!</pre>
or simply write it as text without tags.
=== HTML 4.01 Strict=== (full)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Hello, World!</title> </head> <body> <p>Hello, world!</p> </body></html>
Notice that the HEAD tag is optional and could be omitted.The first paragraph of the W3C Recommendation on The global structure of an HTML document also features this example.
%PDF-1.01 0 obj<</Type /Catalog/Pages 3 0 R/Outlines 2 0 R>>endobj2 0 obj<</Type /Outlines/Count 0>>endobj3 0 obj<</Type /Pages/Count 1/Kids [4 0 R]>>endobj4 0 obj<</Type /Page/Parent 3 0 R/Resources << /Font << /F1 7 0 R >>/ProcSet 6 0 R>>/MediaBox [0 0 612 792]/Contents 5 0 R>>endobj5 0 obj<< /Length 44 >>streamBT/F1 24 Tf100 100 Td (Hello World) TjETendstreamendobj6 0 obj[/PDF /Text]endobj7 0 obj<</Type /Font/Subtype /Type1/Name /F1/BaseFont /Helvetica/Encoding /MacRomanEncoding>>endobjxref0 80000000000 65535 f0000000009 00000 n0000000074 00000 n0000000120 00000 n0000000179 00000 n0000000322 00000 n0000000415 00000 n0000000445 00000 ntrailer<</Size 8/Root 1 0 R>>startxref553%%EOF
% Displays on console.(Hello world!) =%!% Displays as page output./Courier findfont24 scalefontsetfont100 100 moveto(Hello world!) showshowpage
{\rtf1\ansi\deff0{\fonttbl {\f0 Courier New;}}\f0\fs20 Hello, world!}
Hello World\bye
เมนูนำทาง
โปรแกรมเฮลโลเวิลด์ Page description languagesใกล้เคียง
โปรแกรมเฮลโลเวิลด์ โปรแกรมจัดการรหัสผ่าน โปรแกรมหน้า วิญญาณอาฆาต โปรแกรมความภักดี โปรแกรมตรวจแก้จุดบกพร่องกนู โปรแกรมป้องกันไวรัส โปรแกรมประยุกต์ โปรแกรมอรรถประโยชน์ โปรแกรมคอมพิวเตอร์ โปรแกรมประยุกต์บนเว็บแหล่งที่มา
WikiPedia: โปรแกรมเฮลโลเวิลด์ http://www.autohotkey.com http://www.php.net/ini.core#ini.short-open-tag http://www.mozilla.org/keymaster/gatekeeper/there.... http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/strict.dtd http://www.w3.org/TR/html4/struct/global.html http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd